package com.lovo.csc.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@TableName("discount_rate")
@Getter
@Setter
@NoArgsConstructor
/**
 * 折扣率实体
 */
public class DiscountRateBean {
    /**
     * 主键id
     */
    @TableId(value = "pk_discountRateId",type = IdType.AUTO)
    private long discountRateId;
    /**
     * 金额
     */
    @TableField("dr_money")
    private float money;
    /**
     * 折扣率
     */
    @TableField("dr_discount")
    private float discount;
}
